<?php

use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {

 		$data=[];
    	for($i=0;$i<1000;$i++)
         {  
         	$data[]=[
         	'name' => str_random(10), 
            'password' => Crypt::encrypt('123'),
            'email' => str_random(10).'@gmail.com',
            'token'=>str_random(20),
            'status'=>1
            ];
         	
         }
            
       DB::table('users')->insert($data);
    }
}
